package cn.nebula.music.service;

import java.util.Set;

import cn.nebula.music.domain.Role;

public interface RoleService {
	public Set<Role> findAllRoles() throws Exception;

	public Set<Role> findAllRolesOfBT() throws Exception;

	public Role findRoleById(Integer id) throws Exception;

	public Role findRoleByName(String name) throws Exception;

	public void addRole(Role role) throws Exception;

	public void updateRole(Role role) throws Exception;

	public void deleteRoleById(Integer id) throws Exception;
}
